//
//  NSStringAdditions.h
//  YinXinBao
//
//  Created by caoliang on 14-4-14.
//  Copyright (c) 2014年 UMPAY. All rights reserved.
//

@interface NSString(NSStringAdditions)
+(NSString *) getTimeValueForKey:(NSString *)key defaultValue:(time_t)defaultValue;
+(NSString *) daySinceTimeInterval:(NSTimeInterval)time;

/* @brief 处理时间
 * @return 返回处理好的字符串
 */
+ (NSString *) daySinceDate:(NSDate *) currentDate;
+ (NSString *) dayManageTimeInterval:(NSString *) time;
+ (NSString *) getVideoTimeValueForKey:(NSString *)key;
+ (NSString *) returnDayAndHour:(NSUInteger) defaultValue;
+ (NSString *) returnHourAndMinute:(NSUInteger) defaultValue;
+ (NSString *) returnDayAndHourAndMinute:(NSUInteger) defaultValue;
+ (NSString *) getTimeValueForInt:(int)nValue;

+ (NSString *) changeDistanceStr:(NSInteger) aDistance;


@end
